package com.itheima.homework1;

public class Manager extends Employee {
    private String clerk;   //该经理的职员

    @Override
    public void showMsg() {
        System.out.println(getDept()+"的："+getName()+",员工编号："+getWorkId());
        System.out.println("他的职员是"+clerk);
    }


    public Manager() {
    }

    public Manager(String clerk) {
        this.clerk = clerk;
    }

    public String getClerk() {
        return clerk;
    }

    public void setClerk(String clerk) {
        this.clerk = clerk;
    }
}
